package template;

/**
 * 模版方法模式主程序
 *
 * @author Liu Yicong
 * @date 2025/9/25
 */
public class TemplateClient {
	public static void main(String[] args) {
		Game bGame = new BasketballGame();
		bGame.play(); // 调用模板方法

		Game vGame = new VideoGame();
		vGame.play();
	}
}
